package com.woniuxy.rateassembly.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zz
 * @since 2021-05-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hotel_comment")
public class Comment implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer commentId;

    /**
     * 订单编号
     */
    private Integer orderId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 酒店id
     */
    private Integer hotelId;

    /**
     * 评价星级。1-5
     */
    private Integer star;

    /**
     * 评论内容
     */
    private String commentContent;

    /**
     * 评论图片
     */
    private String commentPhoto;

    /**
     * 评论发布时间
     */
    private Date releaseTime;


    /**
     * 房间id(用于查看房型筛选)
     */
    private Integer roomId;

    /**
     *  状态：用于酒店是否查看回复
     */
    private Integer status;

    /**
     * 酒店回复
     */
    private String hotelReply;


}
